/**
 * @Author Liu Chang
 * @Date 2021/11/1 5:17 下午
 */
public class DecorationMain {
    public static void main(String[] args) {
        SunWukong sunWukong = new SunWukong();
        TransfigurationDecorator sunTransfiguration = new FishDecorator(sunWukong);
        sunTransfiguration.transfiguration.transfiguration();
        sunTransfiguration.transfiguration();

        ErLangshen yangJian = new ErLangshen();
        TransfigurationDecorator yangTransfiguration = new EagleDecorator(yangJian);
        yangTransfiguration.transfiguration.transfiguration();
        yangTransfiguration.transfiguration();

    }
}
